
import React from 'react'
import { HashRouter, Redirect, Route, Switch } from 'react-router-dom'
import Login from '../views/login/Login'
import Index from '../views';
function IndexRouter(props) {
  return (
    <HashRouter>

      <Switch>
        <Route path="/login" component={Login} />
        <Route path="/" component={Index}></Route>
      </Switch>
    </HashRouter>
  )
}

export default IndexRouter